module.exports = {
    runtimeCompiler: true,
    // baseUrl: '/',
    devServer: {
        proxy: {
            '/api/': {
                target: 'https://demo.ztools.top',
                pathRewrite: {
                    '^/api/': '/api/'
                }
            }
        }
    },
    configureWebpack: {
        module: {
            rules: [{
                test: /\.md$/,
                use: [{
                        loader: "html-loader"
                    },
                    {
                        loader: "markdown-loader",
                        options: {
                            /* your options here */
                        }
                    }
                ]
            }, ]
        },
    }
}